dc09edce3383d769d7e6962e29de4c4729668645,eppic-wui/src/main/java/ch/systemsx/sybit/crkwebui/client/commons/managers/ViewerRunner.java,ViewerRunner,showJmolViewerAssembly,#String#,77

Before Change


	 */
	private static void showJmolViewerAssembly(String assemblyId)
	{
		int size = ApplicationContext.getWindowData().getWindowHeight() - 60;
		if(size > ApplicationContext.getWindowData().getWindowWidth() - 60)
		{
			size = ApplicationContext.getWindowData().getWindowWidth() - 60;
		}
		
		int jmolAppletSize = size - PopupRunner.VIEWER_SIZE_OFFSET;

After Change


	 */
	private static void showJmolViewerAssembly(String assemblyId)
	{
		int size = Math.min(ApplicationContext.getWindowData().getWindowHeight(), 
				ApplicationContext.getWindowData().getWindowWidth());
		
		int jmolAppletSize = size - PopupRunner.VIEWER_SIZE_OFFSET;